import { useSystemStore } from '@/stores/system'

const systemStore = useSystemStore()

// 计算属性获取系统名称
const systemName = computed(() => systemStore.getSystemName())

onMounted(async () => {
  if (!systemStore.systemConfig.frontendName) {
    await systemStore.fetchSystemConfig()
  }
}) 